/* eslint-disable import/prefer-default-export */
import path from 'path';

import { PageAlias } from '../../../src/libs/common/router';
import { PageMapping, ModuleRoot } from './types';

export default {
    [PageAlias.HomeHome]: path.join(ModuleRoot.home, 'views/home-page.client.tsx'),

    // demon module
    [PageAlias.DemonMInfo]: path.join(ModuleRoot.demon, 'views/machine-info-page.client.tsx'),
    // [PageAlias.HomeApp]: path.join(ModuleRoot.home, 'app.tsx'),

    // resume module
    [PageAlias.ResumeHome]: path.join(ModuleRoot.resume, 'views/home/home.client.tsx'),
    [PageAlias.ResumeTemplateList]: path.join(
        ModuleRoot.resume,
        'views/tmpl-list/tmpl-list.client.tsx',
    ),
    [PageAlias.ResumeTemplateDetail]: path.join(
        ModuleRoot.resume,
        'views/tmpl-detail/tmpl-detail.client.tsx',
    ),

    // article module
    [PageAlias.ArticleHome]: path.join(ModuleRoot.article, 'views/home/home.client.tsx'),
} as PageMapping;
